import {
  Component,
  OnInit,
  Input,
} from '@angular/core';

export interface IHotItem {
  icon: string;
  title: string;
  num: number;
  path: string;
}

@Component({
  selector: 'app-hot',
  templateUrl: './hot.component.html',
  styleUrls: [ './hot.component.less' ],
})
export class HotComponent implements OnInit {

  @Input() props: Array<IHotItem>;
  @Input() baseUrl: string;
  constructor() { }

  ngOnInit() {
  }

}
